package kr.hkit.powerjava.chapter11.Programming;

public class Magazine extends Book {

	private String releaseDate;//발매일

	public Magazine() {//기본 생성자
	}
	
	public Magazine(String releaseDate) {//발매일 받는 생성자
		super();
		this.releaseDate = releaseDate;
	}

	public Magazine(String title, int pages, String releaseDate) {//제목, 페이지수, 발매일 받는 생성자
		super(title, pages);
		this.releaseDate = releaseDate;
	}
	
	public Magazine(String title, String author, int pages, String releaseDate) {//제목, 작가, 페이지수, 발매일 받는 생성자
		super(title, author, pages);
		this.releaseDate = releaseDate;
	}
	
	//아래로는 접근자 설정자

	public String getReleaseDate() {
		return releaseDate;
	}

	public void setReleaseDate(String releaseDate) {
		this.releaseDate = releaseDate;
	}
	
}
